﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlServerCe;
using System.Windows.Forms;

namespace lCash
{
    static class SQLCE
    {
        static private SqlCeConnection cn = new SqlCeConnection(@"Data Source = db.sdf");
        static private SqlCeCommand cmd = new SqlCeCommand();
        static SQLCE()
        {/*
            cn = new SqlCeConnection(@"Data Source = db.sdf");
            try
            {
                cn.Open();
            }
            catch (SqlCeException ex)
            {
                MessageBox.Show(ex.Message);
                Application.ExitThread();
            }            
          * */
        }

        public static SqlCeCommand query
        {
            get
            {
                return cmd;
            }
            set
            {
            }
        }
    }
}
